package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * Created by zisheng on 2018/7/31.
 */

public class ImSearchMessageBean {

    /**
     * code : 2000
     * data : {"startRow":5,"messageRecordWithBLOBsList":[{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532949531000","content":"5aSq6L+H5YiG6Z2e5Yeh5ZOl","createDatetime":1533031297175,"decryptContent":"太过分非凡哥","duration":0,"messageDatetime":1532951878464,"messageFrom":"acc1466044931968q8yb","messageId":"35ed2a7c02be45cfa53690a28a64e54e","messageTo":"customer-service2","mobile":"18721626075","name":"kingg产hh","sid":"9c4dfd82d1ca47cd9c06711d91f615a8","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532323311000","clientType":0,"content":"6K6p5Lq66L+H5YiG","createDatetime":1532448000000,"decryptContent":"让人过分","duration":0,"messageDatetime":1532340893969,"messageFrom":"acc1466044931968q8yb","messageId":"2d00763d69544823b4c65e4a2786cb4a","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"ccdd751779214af7ab0b22aa91be9074","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532323311000","clientType":0,"content":"5ZOl5b6I6L+H5YiG","createDatetime":1532448000000,"decryptContent":"哥很过分","duration":0,"messageDatetime":1532343119535,"messageFrom":"acc1466044931968q8yb","messageId":"3b5bdfd3777e4f9f988e6745b4f07484","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"ec0c5b266650469f953038b9477c2605","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1531899345000","clientType":0,"content":"6L+H5YiG5ZCD6aWt","createDatetime":1532016003000,"decryptContent":"过分吃饭","duration":0,"messageDatetime":1531899357908,"messageFrom":"acc1466044931968q8yb","messageId":"cd7b126d90104461948320e84fab1f18","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"c500ae9e72e5410da778498e00ae4f0c","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1531980605000","clientType":0,"content":"6L+H5YiG","createDatetime":1532102400000,"decryptContent":"过分","duration":0,"messageDatetime":1531988909864,"messageFrom":"acc1466044931968q8yb","messageId":"f211162d51a145caac13586256dadd77","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"72defa05ae554bc9a347c7ca060eb890","state":"unread","type":1}]}
     * message : 获取成功
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * startRow : 5
         * messageRecordWithBLOBsList : [{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532949531000","content":"5aSq6L+H5YiG6Z2e5Yeh5ZOl","createDatetime":1533031297175,"decryptContent":"太过分非凡哥","duration":0,"messageDatetime":1532951878464,"messageFrom":"acc1466044931968q8yb","messageId":"35ed2a7c02be45cfa53690a28a64e54e","messageTo":"customer-service2","mobile":"18721626075","name":"kingg产hh","sid":"9c4dfd82d1ca47cd9c06711d91f615a8","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532323311000","clientType":0,"content":"6K6p5Lq66L+H5YiG","createDatetime":1532448000000,"decryptContent":"让人过分","duration":0,"messageDatetime":1532340893969,"messageFrom":"acc1466044931968q8yb","messageId":"2d00763d69544823b4c65e4a2786cb4a","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"ccdd751779214af7ab0b22aa91be9074","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532323311000","clientType":0,"content":"5ZOl5b6I6L+H5YiG","createDatetime":1532448000000,"decryptContent":"哥很过分","duration":0,"messageDatetime":1532343119535,"messageFrom":"acc1466044931968q8yb","messageId":"3b5bdfd3777e4f9f988e6745b4f07484","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"ec0c5b266650469f953038b9477c2605","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1531899345000","clientType":0,"content":"6L+H5YiG5ZCD6aWt","createDatetime":1532016003000,"decryptContent":"过分吃饭","duration":0,"messageDatetime":1531899357908,"messageFrom":"acc1466044931968q8yb","messageId":"cd7b126d90104461948320e84fab1f18","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"c500ae9e72e5410da778498e00ae4f0c","state":"unread","type":1},{"accountId":"acc1466044931968Q8YB","avatar":"http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1531980605000","clientType":0,"content":"6L+H5YiG","createDatetime":1532102400000,"decryptContent":"过分","duration":0,"messageDatetime":1531988909864,"messageFrom":"acc1466044931968q8yb","messageId":"f211162d51a145caac13586256dadd77","messageTo":"customer-service5","mobile":"18721626075","name":"kingg产hh","sid":"72defa05ae554bc9a347c7ca060eb890","state":"unread","type":1}]
         */

        private int startRow;
        private List<MessageRecordWithBLOBsListBean> messageRecordWithBLOBsList;

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public List<MessageRecordWithBLOBsListBean> getMessageRecordWithBLOBsList() {
            return messageRecordWithBLOBsList;
        }

        public void setMessageRecordWithBLOBsList(List<MessageRecordWithBLOBsListBean> messageRecordWithBLOBsList) {
            this.messageRecordWithBLOBsList = messageRecordWithBLOBsList;
        }

        public static class MessageRecordWithBLOBsListBean {
            /**
             * accountId : acc1466044931968Q8YB
             * avatar : http://joplus-images.oss-cn-shanghai.aliyuncs.com/account/acc1466044931968Q8YB/avatar?1532949531000
             * content : 5aSq6L+H5YiG6Z2e5Yeh5ZOl
             * createDatetime : 1533031297175
             * decryptContent : 太过分非凡哥
             * duration : 0
             * messageDatetime : 1532951878464
             * messageFrom : acc1466044931968q8yb
             * messageId : 35ed2a7c02be45cfa53690a28a64e54e
             * messageTo : customer-service2
             * mobile : 18721626075
             * name : kingg产hh
             * sid : 9c4dfd82d1ca47cd9c06711d91f615a8
             * type : 1
             * clientType : 0
             * state : unread
             */

            private String accountId;
            private String avatar;
            private String content;
            private long createDatetime;
            private String decryptContent;
            private int duration;
            private long messageDatetime;
            private String messageFrom;
            private String messageId;
            private String messageTo;
            private String mobile;
            private String name;
            private String sid;
            private int type;
            private int clientType;
            private String state;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreateDatetime() {
                return createDatetime;
            }

            public void setCreateDatetime(long createDatetime) {
                this.createDatetime = createDatetime;
            }

            public String getDecryptContent() {
                return decryptContent;
            }

            public void setDecryptContent(String decryptContent) {
                this.decryptContent = decryptContent;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public long getMessageDatetime() {
                return messageDatetime;
            }

            public void setMessageDatetime(long messageDatetime) {
                this.messageDatetime = messageDatetime;
            }

            public String getMessageFrom() {
                return messageFrom;
            }

            public void setMessageFrom(String messageFrom) {
                this.messageFrom = messageFrom;
            }

            public String getMessageId() {
                return messageId;
            }

            public void setMessageId(String messageId) {
                this.messageId = messageId;
            }

            public String getMessageTo() {
                return messageTo;
            }

            public void setMessageTo(String messageTo) {
                this.messageTo = messageTo;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getClientType() {
                return clientType;
            }

            public void setClientType(int clientType) {
                this.clientType = clientType;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }
        }
    }
}

